package org.ddd.productdemo.domaindriven.infrastructure.adapter.outgoing.persistence.repository;

import org.ddd.productdemo.domaindriven.infrastructure.adapter.outgoing.persistence.entity.OrderJpaEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderJpaRepository extends JpaRepository<OrderJpaEntity, String> {
    List<OrderJpaEntity> findByCustomerId(String customerId);
}
